package com.ruoyi.prod.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 品牌对象 brand
 * 
 * @author nz
 * @date 2025-07-31
 */
public class Brand extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 品牌ID */
    private Long id;

    /** 品牌名称 */
    @Excel(name = "品牌名称")
    private String name;

    /** 品牌logo URL */
    @Excel(name = "品牌logo URL")
    private String logo;

    /** 品牌描述 */
    @Excel(name = "品牌描述")
    private String description;

    /** 品牌官网 */
    @Excel(name = "品牌官网")
    private String website;

    /** 排序字段 */
    @Excel(name = "排序字段")
    private Long sort;

    /** 是否推荐(0-否,1-是) */
    @Excel(name = "是否推荐(0-否,1-是)")
    private Integer isFeatured;

    /** 状态(0-禁用,1-启用) */
    @Excel(name = "状态(0-禁用,1-启用)")
    private Integer status;

    /** 商品信息信息 */
    private List<Products> productsList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setLogo(String logo) 
    {
        this.logo = logo;
    }

    public String getLogo() 
    {
        return logo;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setWebsite(String website) 
    {
        this.website = website;
    }

    public String getWebsite() 
    {
        return website;
    }

    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    public void setIsFeatured(Integer isFeatured) 
    {
        this.isFeatured = isFeatured;
    }

    public Integer getIsFeatured() 
    {
        return isFeatured;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public List<Products> getProductsList()
    {
        return productsList;
    }

    public void setProductsList(List<Products> productsList)
    {
        this.productsList = productsList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("logo", getLogo())
            .append("description", getDescription())
            .append("website", getWebsite())
            .append("sort", getSort())
            .append("isFeatured", getIsFeatured())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("productsList", getProductsList())
            .toString();
    }
}
